package com.itheima.mapper;

import com.itheima.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    List<Student> findAll();

    List<Student> findByNameOrAge(@Param("name") String name, @Param("age") Integer age);

    List<Student> findCondition(Student stu);

    List<Student> findByIds(List<Integer> list);
}
